﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="HomeContent.ascx.cs" Inherits="View_HomeContent" meta:resourcekey="PageResource1"  %>
<!-- .contentwrap -->
<div class="contentwrap">
    <asp:Repeater runat="server" ID="listcategories" 
        onitemdatabound="listcategories_ItemDataBound">
        
        <ItemTemplate>
            <h6 class="fancyheading">
                <span><%#Eval("name") %></span></h6>
            <asp:Label ID="category_id" runat="server" Text='<%#Bind("category_id") %>' Visible=false></asp:Label>
            <asp:Repeater runat="server" ID="listarticles">            
                <ItemTemplate>
                    <div class='<%#Eval("css") %>'>
                        <img src='<%#Eval("image") %>' alt="1" class="alignright" width="64px" height="64px" />
                        <h4 class="fancytitle2">
                           <%#Eval("name") %></h4>
                        <p>
                           <%#Eval("des") %>
                        </p>
                        <a href='<%#Eval("href") %>' class="button gray small"><span>Chi Tiết</span></a>
                    </div>
                    
                </ItemTemplate>
            </asp:Repeater>
            <div class="divider top">
                <a href="#">Top</a></div>
        </ItemTemplate>
    </asp:Repeater>
</div>
<!-- .contentwrap -->
